package com.nf.health.app.models;

public class OrderLogin {
	private String userid;
	private String token;
	private String password;

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((token == null) ? 0 : token.hashCode());
		result = prime * result + ((userid == null) ? 0 : userid.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OrderLogin other = (OrderLogin) obj;
		if (token == null) {
			if (other.token != null)
				return false;
		} else if (!token.equals(other.token))
			return false;
		if (userid == null) {
			if (other.userid != null)
				return false;
		} else if (!userid.equals(other.userid))
			return false;
		return true;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	/**
	{
    "code": "0",
    "data": {
        "birthday": "2015-8-18",
        "card_id": "",
        "city": "",
        "current_grade": 0,
        "current_score": 0,
        "del": "n",
        "height": 175,
        "himg": "",
        "id": 0,
        "judgecause": "",
        "next_grade": 0,
        "next_score": 0,
        "nick": "123",
        "password": "hbank_123",
        "provice": "",
        "score": 0,
        "scorekeys": "",
        "sex": "1",
        "sick_history": "",
        "source": "",
        "token": "66f9c78b8b1119461b2404d3845ecb87",
        "type": "simple",
        "userid": "66f9c78b8b1119461b2404d3845ecb87",
        "userkeys": "",
        "weight": 36
    },
    "msg": "注册成功",
    "success": true
}
	 */
	

}
